from django.conf.urls import url

from kitsune.customercare import api


# API urls
urlpatterns = [
    url(r'^banned$', api.BannedList.as_view(), name='customercare.api.banned'),
    url(r'^ban$', api.ban, name='customercare.api.ban'),
    url(r'^unban$', api.unban, name='customercare.api.unban'),
    url(r'^ignored$', api.IgnoredList.as_view(),
        name='customercare.api.ignored'),
    url(r'^ignore$', api.ignore, name='customercare.api.ignore'),
    url(r'^unignore$', api.unignore, name='customercare.api.unignore'),
]
